<?php

/**
 * DiaTrabajado form.
 *
 * @package    control_obras
 * @subpackage form
 * @author     Your name here
 */
class DiaTrabajadoForm extends BaseDiaTrabajadoForm
{
  public function configure()
  {
    $this->getWidgetSchema()->getFormFormatter()->setDecoratorFormat('<tr>%content%</tr>');
    $this->getWidgetSchema()->getFormFormatter()->setRowFormat('<td>%field%</td>');

    $this->setWidget('fecha', new sfWidgetFormInputHidden());
    $this->setWidget('personal_quincena_id', new sfWidgetFormInputHidden());
  }
}
